package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

public class GSOutSubHisBean implements GSBaseBean{
	
	private String warehouseName;
	private String positionName;
	private String outBillCode;
	private String outTIme;
	private String customerName;
	private String outType;
	private String getBillCode;
	private String providerCode;
	private String repairBillCode;
	private String customerBusCode;
	private String balanceFlag;
	private String productCode;
	private String productName;
	private String productUnit;
	private String spec;
	private String model;
	private String productBrand;
	private String productCount;
	private String productPrice;
	private String productMoney;
	private String getCustomerName;
	private String getCustomerStaffName;
	private String balanceMode;
	private String createUser;
	private String createTime;
	private String categoryName;
	private String subRemark;
	private String categoryCode;
	private String warehouseCode;
	private String providerName;
	private String status;
	private String productId;
	private String isNormal;
	private String positionCode;
	private String outBillId;
	
	public void initObject(ResultSet aResultSet) throws Exception
	{
		balanceFlag = aResultSet.getString("BALANCE_FLAG");
		balanceMode = aResultSet.getString("BALANCE_MODE");
		categoryCode = aResultSet.getString("CATEGORY_CODE");
		createTime = aResultSet.getString("CREATE_TIME");
		createUser = aResultSet.getString("CREATE_USER");
		customerBusCode = aResultSet.getString("CUSTOMER_BUS_CODE");
		customerName = aResultSet.getString("CUSTOMER_NAME");
		getBillCode = aResultSet.getString("GET_BILL_CODE");
		getCustomerName = aResultSet.getString("GET_CUSTOMER_NAME");
		getCustomerStaffName = aResultSet.getString("GET_CUSTOMER_STAFF_NAME");
		model = aResultSet.getString("MODEL");
		outTIme = aResultSet.getString("OUT_TIME");
		outType = aResultSet.getString("OUT_TYPE");
		positionName = aResultSet.getString("POSITION_NAME");
		productBrand = aResultSet.getString("PRODUCT_BRAND");
		productCode = aResultSet.getString("PRODUCT_CODE");
		productCount = aResultSet.getString("PRODUCT_COUNT");
		productMoney = aResultSet.getString("PRODUCT_MONEY");
		productName = aResultSet.getString("PRODUCT_NAME");
		productPrice = aResultSet.getString("PRODUCT_PRICE");
		productUnit = aResultSet.getString("PRODUCT_UNIT");
		providerCode = aResultSet.getString("PROVIDER_CODE");
		providerName = aResultSet.getString("PROVIDER_NAME");
		repairBillCode = aResultSet.getString("REPAIR_BILL_CODE");
		spec = aResultSet.getString("SPEC");
		status = aResultSet.getString("STATUS");
		subRemark = aResultSet.getString("SUB_REMARK");
		warehouseCode = aResultSet.getString("WAREHOUSE_CODE");
		warehouseName = aResultSet.getString("WAREHOUSE_NAME");
		isNormal = aResultSet.getString("IS_NORMAL");
		productId = aResultSet.getString("PRODUCT_ID");
		outBillId = aResultSet.getString("out_bill_id");
		positionCode = aResultSet.getString("POSITION_CODE");
	}

	public Object process(ResultSet aResultSet) throws SQLException {
		GSOutSubHisBean bean = new GSOutSubHisBean();
		bean.balanceFlag = aResultSet.getString("BALANCE_FLAG");
		bean.balanceMode = aResultSet.getString("BALANCE_MODE");
		bean.categoryCode = aResultSet.getString("CATEGORY_CODE");
		bean.createTime = aResultSet.getString("CREATE_TIME");
		bean.createUser = aResultSet.getString("CREATE_USER");
		bean.customerBusCode = aResultSet.getString("CUSTOMER_BUS_CODE");
		bean.customerName = aResultSet.getString("CUSTOMER_NAME");
		bean.getBillCode = aResultSet.getString("GET_BILL_CODE");
		bean.getCustomerName = aResultSet.getString("GET_CUSTOMER_NAME");
		bean.getCustomerStaffName = aResultSet.getString("GET_CUSTOMER_STAFF_NAME");
		bean.model = aResultSet.getString("MODEL");
		bean.outBillCode = aResultSet.getString("OUT_BILL_CODE");
		bean.outTIme = aResultSet.getString("OUT_TIME");
		bean.outType = aResultSet.getString("OUT_TYPE");
		bean.positionName = aResultSet.getString("POSITION_NAME");
		bean.productBrand = aResultSet.getString("PRODUCT_BRAND");
		bean.productCode = aResultSet.getString("PRODUCT_CODE");
		bean.productCount = aResultSet.getString("PRODUCT_COUNT");
		bean.productMoney = aResultSet.getString("PRODUCT_MONEY");
		bean.productName = aResultSet.getString("PRODUCT_NAME");
		bean.productPrice = aResultSet.getString("PRODUCT_PRICE");
		bean.productUnit = aResultSet.getString("PRODUCT_UNIT");
		bean.providerCode = aResultSet.getString("PROVIDER_CODE");
		bean.providerName = aResultSet.getString("PROVIDER_NAME");
		bean.repairBillCode = aResultSet.getString("REPAIR_BILL_CODE");
		bean.spec = aResultSet.getString("SPEC");
		bean.status = aResultSet.getString("STATUS");
		bean.subRemark = aResultSet.getString("SUB_REMARK");
		bean.warehouseCode = aResultSet.getString("WAREHOUSE_CODE");
		bean.warehouseName = aResultSet.getString("WAREHOUSE_NAME");
		bean.isNormal = aResultSet.getString("IS_NORMAL");
		bean.productId = aResultSet.getString("PRODUCT_ID");
		bean.outBillId = aResultSet.getString("out_bill_id");
		bean.positionCode = aResultSet.getString("POSITION_CODE");
		return bean;
	}

	public String getWarehouseName() {
		return warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	public String getPositionName() {
		return positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public String getOutBillCode() {
		return outBillCode;
	}

	public void setOutBillCode(String outBillCode) {
		this.outBillCode = outBillCode;
	}

	public String getOutTIme() {
		return outTIme;
	}

	public void setOutTIme(String outTIme) {
		this.outTIme = outTIme;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getOutType() {
		return outType;
	}

	public void setOutType(String outType) {
		this.outType = outType;
	}

	public String getGetBillCode() {
		return getBillCode;
	}

	public void setGetBillCode(String getBillCode) {
		this.getBillCode = getBillCode;
	}

	public String getProviderCode() {
		return providerCode;
	}

	public void setProviderCode(String providerCode) {
		this.providerCode = providerCode;
	}

	public String getRepairBillCode() {
		return repairBillCode;
	}

	public void setRepairBillCode(String repairBillCode) {
		this.repairBillCode = repairBillCode;
	}

	public String getCustomerBusCode() {
		return customerBusCode;
	}

	public void setCustomerBusCode(String customerBusCode) {
		this.customerBusCode = customerBusCode;
	}

	public String getBalanceFlag() {
		return balanceFlag;
	}

	public void setBalanceFlag(String balanceFlag) {
		this.balanceFlag = balanceFlag;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductUnit() {
		return productUnit;
	}

	public void setProductUnit(String productUnit) {
		this.productUnit = productUnit;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getProductBrand() {
		return productBrand;
	}

	public void setProductBrand(String productBrand) {
		this.productBrand = productBrand;
	}

	public String getProductCount() {
		return productCount;
	}

	public void setProductCount(String productCount) {
		this.productCount = productCount;
	}

	public String getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(String productPrice) {
		this.productPrice = productPrice;
	}

	public String getProductMoney() {
		return productMoney;
	}

	public void setProductMoney(String productMoney) {
		this.productMoney = productMoney;
	}

	public String getGetCustomerName() {
		return getCustomerName;
	}

	public void setGetCustomerName(String getCustomerName) {
		this.getCustomerName = getCustomerName;
	}

	public String getGetCustomerStaffName() {
		return getCustomerStaffName;
	}

	public void setGetCustomerStaffName(String getCustomerStaffName) {
		this.getCustomerStaffName = getCustomerStaffName;
	}



	public String getBalanceMode() {
		return balanceMode;
	}

	public void setBalanceMode(String balanceMode) {
		this.balanceMode = balanceMode;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getSubRemark() {
		return subRemark;
	}

	public void setSubRemark(String subRemark) {
		this.subRemark = subRemark;
	}

	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getProviderName() {
		return providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getIsNormal() {
		return isNormal;
	}

	public void setIsNormal(String isNormal) {
		this.isNormal = isNormal;
	}

	public String getPositionCode() {
		return positionCode;
	}

	public void setPositionCode(String positionCode) {
		this.positionCode = positionCode;
	}

	public String getOutBillId() {
		return outBillId;
	}

	public void setOutBillId(String outBillId) {
		this.outBillId = outBillId;
	}

}
